package com.watson.spring.batch.demo.entity;

import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * @author watson
 * @date 2021/8/17 11:44
 * @Description: TODO
 **/
@Data
@ToString
public class Person implements Serializable {

    private String id;
    @Size(min = 2, max = 8)
    private String name;
    private int age;
    private String gender;


}
